import request from '@/utils/request'

// 反馈意见
export function fetchList(query) {
  return request({
    url: '/admin/feedbacks',
    method: 'get',
    params: query
  })
}

// 详情
export function fetchDetail(id) {
  return request({
    url: `/admin/feedbacks/${id}`,
    method: 'get'
  })
}
